package com.scvtc.domain.vo.system.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Description: 给用户分配角色
 * @Author: yiFei
 * @date: 2022/5/26 10:58
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserRoleIdsDto {

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;
    /**
     * 角色ids
     */
    @ApiModelProperty(value = "角色ids")
    private List<Long> roleIds;

}
